import {moniGoLoginAPI} from '@/api/profile'
export default {
  // 命名空间
  namespaced: true,
  state: {
    profile: null,
  },
  getters: {},
  mutations: {
    setProfile(state, payload) {
      console.log(payload);
      state.profile = payload;
    },
  },
  actions: {
    // async moniGoLogin(store,payload){
    //   const res = await moniGoLoginAPI(payload)
    //   console.log('act模拟',res);
    //   store.commit('setProfile',res.result)
    // }
  },
};
